<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link rel="stylesheet" href="__CONTROL_TPL__/css/search.css" />
	<title>后盾网学员项目-仿哇塞网</title>
</head>
<body>
<!-- 公用头部开始 -->
<include file="__TPL__/Common/head"/>
<!-- 公用头部结束 -->

<div id="search" class='width1100 fixed'>
	<ul class="searchNav">
		<li>
			<a href="javascript:" style="cursor:pointer">所有分类</a>
		</li>
	</ul>
	<if value="!isset($test)">
		<p class="feelingGoods">
			找到您感兴趣的商品
			<span class="feelingGoodsNum">{$num}</span>
			件
		</p>
	<else/>
		<p class="feelingGoods">
			全部商品共计
			<span class="feelingGoodsNum">{$num}</span>
			件
		</p>
	</if>
	<div class="searchResult">
		<if value="!empty($search)">
			<div class="searchResultL">
				<div class="resultLTitle">
					<p class="defalut ct">默认</p>
					<p class="common ct">最新</p>
					<p class="common ct">销量</p>
				</div>
				<div class="clear"></div>
				<div class="resultLShow">
					<list from='$search' name='goods'>
						<div class="showList fl" <if value="($hd.list.goods.index)%4==0">style="margin-right:0px;"</if>>
							<dl class="showListInfo">
								<dt>
									<a href="{|U:'Details/index',array('gid'=>$goods[0])}"><img src="__ROOT__/{$goods.4}" alt="商品图片占位" style="width:170px;height:170px;"/></a>
								</dt>
								<dd>
									<p class="showListInfoTitle">
										<a href="{|U:'Details/index',array('gid'=>$goods[0])}" class="color249" >
											{$goods.1}
											<!-- ToBeMe－原创设计个性<span class="highlight" style="color:red">围巾</span>丝巾纯棉蓝色条纹口袋款限量男女通用款 -->
										</a>
									</p>
									<p class="showListInfoPrice">
										￥<span style='font-size:16px'>{$goods.2}</span>
									</p>
									<div class="clear"></div>
									<p>
										<span class="resoure">{$goods.3}...</span>
									</p>
								</dd>
								<div class="clear"></div>
							</dl>
						</div>
					</list>
				</div>
			</div>
		<else/>
			<div class="searchResultL" style="margin-top:80px;text-align: center;">
				<form action="{|U:'Search/index'}" method="post">
					<input type="text" placeholder="请输入要搜索的关键词" name="keyword"/>
					<input type="submit" value="" class="searchBtn">
				</form>
				<p style="font-size:14px;">很遗憾,没有您要的结果,建议您试试其他关键词或者去商品分类中找找!</p>
			</div>
		</if>
		<div class="searchResultR">
			<div class="resultRXiangguan">
				<div class="resultRXiangguanTitle">
					<p class="ct">热门商品推荐</p>
				</div>
				<list from='$hot' name='goods' row='7'>
					<div class="resultRXiangguanList fl" <if value="($hd.list.goods.last)%4==0">style="border-bottom:none;"</if>>
						<p>
							<a href="{|U:'Details/index',array('gid'=>$goods[gid])}" class="color249" target="_blank">[{$goods.gone_words}]</a>
						</p>
						<p>
							好评度：<span class="color249">99.41</span><span class="color249">%</span>
						</p>
						<dl style="margin-top:5px;" class="tuijian">
							<dt>
								<a href="{|U:'Details/index',array('gid'=>$goods[gid])}" target="_blank"><img src="__ROOT__/{$goods.gthumb_img}" alt="图像占位" style="width:79px;height:79px;"/></a>
							</dt>
							<dd>
								<ul>
									<li class="color249 weight ct" style="font-size:14px;">￥{$goods.gpmt_price}</li>
									<li class="ct">
										<a href="{|U:'Details/index',array('gid'=>$goods[gid])}" class="color249" target="_blank">查看宝贝</a>
									</li>
								</ul>
							</dd>
						</dl>
					</div>
				</list>
			</div>
			<div class="clear"></div>
		</div>	
	</div>
</div>

<!-- 公用页脚开始 -->
<include file="__TPL__/Common/footer"/>
<!-- 公有页脚结束 -->
</body>
</html>